﻿<Window x:Class="Starehe.Testing.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="500" Width="700">
    <Grid>
        <Button Content="Fill Student Table" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Width="144" Height="45" Click="Button_Click"/>
        <Button Content="Fill Staff Table" HorizontalAlignment="Left" Margin="10,60,0,0" VerticalAlignment="Top" Width="144" Height="45" Click="Button_Click_1"/>
        <DataGrid Margin="180,21,10,21" ItemsSource="{Binding}" AutoGenerateColumns="True"/>
        <TextBlock HorizontalAlignment="Left" Margin="21,139,0,0" Name="progress" Text="TextBlock" VerticalAlignment="Top"/>
        <Button Content="Save to DB" HorizontalAlignment="Left" Margin="21,243,0,0" VerticalAlignment="Top" Width="104" Height="32" Click="Button_Click_2"/>

    </Grid>
</Window>
